import App from "./App";

import uView from "./uni_modules/uview-ui";
Vue.use(uView);

// 加载底部组件
// import tabBar from "@/components/tabbar/tabbar.vue"
// Vue.component('tabBar',tabBar)

// #ifndef VUE3
import Vue from "vue";
import store from "./store";
Vue.prototype.$store = store;
import "./uni.promisify.adaptor";
Vue.config.productionTip = false;
App.mpType = "app";
const app = new Vue({
  ...App,
});
require("@/config/request.js")(app);
app.$mount();
// #endif

// #ifdef VUE3
import { createSSRApp } from "vue";
export function createApp() {
  const app = createSSRApp(App);
  return {
    app,
  };
}
// #endif

// 使用vconsole进行数据调试
// const vconsole = require('vconsole')
// Vue.prototype.$vconsole = new vconsole()
